package com.xingdian.xingdianhulianserver.mapper;

import com.xingdian.xingdianhulianserver.vo.FirstType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FirstTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FirstType record);

    int insertSelective(FirstType record);

    FirstType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FirstType record);

    int updateByPrimaryKey(FirstType record);

    //查询所有一级分类
    List<FirstType> findFirstTypes();
}